﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;

namespace WpfBrushes
{
    class BrushInfo
    {
        private readonly SolidColorBrush brush;
        private readonly string name;

        public BrushInfo(string name, SolidColorBrush brush)
        {
            this.brush = brush;
            this.name = name;
        }

        public Brush Brush
        {
            get { return brush; }
        }

        public string Name
        {
            get { return name; }
        }

        public string Hex
        {
            get
            {
                return brush.Color.ToString();
            }
        }
    }
}
